Time Accurate Simulation: Making a PC Behave Like a 8-Bit Embedded CPU
نویسندگان
چکیده
When developing embedded systems, developers often use simulation techniques to allow development to proceed without access to the target hardware. To make use of the high quality development tools available on the PC platform, one popular simulation method is to compile the code intended for the target system to run on the PC, allowing the development of the software to proceed on the PC without use of the final target system. For a distributed system, each target node is given its own process on the host PC, with software on the PC simulating the communications network. We have extended one such simulation environment to include the aspect of relative and absolute processing speed of the target systems, allowing for a more accurate simulation where not only functional but also timing-related bugs can be found and diagnosed. The absolute time mode makes the software on the PC run at the same speed as the real target, thus allowing the mixing of simulated nodes with real target hardware in the same system setup. The method is applicable to any embedded processor, as long as it is significantly slower than the PC. ∗ This work was performed within the Advanced Software Technology competence center (ASTEC, http://www.docs.uu.se/astec), supported by the Swedish National Innovation Systems’ Administration (VINNOVA, http://www.vinnova.se). Jakob is an industrial PhD student at IAR Systems (http://www.iar.com) and Uppsala university, sharing his time between research and development work. Uppsala University, Dept. of Information Technology, Technical Report 2002-024. Submitted to RTAS 2002 and accepted as a poster, but none of the authors was able to attend and present the poster, thus not published. The system has been implemented and tested on standard PCs running the Windows NT operating system, and is currently being used in industrial projects.
منابع مشابه
The Performance and Energy Consumption of Embedded Real-Time Operating Systems
This paper presents the modeling of embedded systems with SimBed, an execution-driven simulation testbed that measures the execution behavior and power consumption of embedded applications and RTOSs by executing them on an accurate architectural model of a microcontroller with simulated real-time stimuli. We briefly describe the simulation environment and present a study that compares three RTO...
متن کاملSingle-chip pulse programmer for magnetic resonance imaging using a 32-bit microcontroller.
A magnetic resonance imaging (MRI) pulse programmer has been developed using a single-chip microcontroller (ADmicroC7026). The microcontroller includes all the components required for the MRI pulse programmer: a 32-bit RISC CPU core, 62 kbytes of flash memory, 8 kbytes of SRAM, two 32-bit timers, four 12-bit DA converters, and 40 bits of general purpose I/O. An evaluation board for the microcon...
متن کاملA Generic and Accurate RTOS-centric Embedded System Modelling and Simulation Framework
Real-time Operating System (RTOS) modelling and SystemC-based system-level hardware/software co-simulation have become important issues for early design space exploration in the development of real-time embedded systems. This paper presents a generic and accurate RTOS-centric embedded system modelling and simulation framework. It allows modelling and simulating applications, the RTOS, the CPU p...
متن کاملDesigning an Embedded Video Processing Camera Using a 16-bit Microprocessor for a Surveillance System
This paper describes the design and implementation of a hybrid intelligent surveillance system that consists of an embedded system and a personal computer (PC)-based system. The embedded system performs some of the image processing tasks and sends the processed data to the PC. The PC tracks persons and recognizes two-person interactions by using a grayscale side view image sequence captured by ...
متن کاملDesigning an embedded video processing camera using a 16-bit microprocessor for surveillance system
This paper describes the design and implementation of a hybrid intelligent surveillance system consisting of an embedded system and a personal computer (PC)-based system. The embedded system performs some of the image processing tasks and sends the processed data to a PC. The PC tracks persons and recognizes two-person interactions by using a grayscale side-view image sequence captured by a sta...
متن کامل